import { http } from '@/utils/http/axios';
const baseUrl = `/api`; // 真实数据

//图片上传
export function upload(data) {
  return http.request({
    url: '/upload',
    method: 'post',
    data,
  });
}

// 获取系统列表
export function getSystems() {
  return http.request({
    url: `${baseUrl}/v1/sms/v1/auth/systems`,
    method: 'get',
  });
}
